<%--
*
*?R??S?¡ì¡§? 系统消息表SYSTEM_MESSAGE的edit文件
*
* @author zq 
*
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="f" uri="/flowpage-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title><s:property value="operate"/>系统消息</title>
	<%@include file="/share/header.jsp"%>
	<s:head/>
	<f:header theme="${sessionScope.skinCon.pageSkin}"/>
	<script type="text/javascript">

	function postSubmit(parameters){
	    		var result=top.MyWindow.defaultPostSubmit(parameters);
	    		if(result && parameters.action==top.MyWindow.OkAdd.action){//确定并新增
	    			top.MyWindow.reload(parameters,'<s:url action='new' namespace='/system/message'  includeParams="all" escapeAmp="false"><s:param name="domain.id" value="" /></s:url>');
	    			return false;
	    		}
	    		var receiver=document.getElementById('save_domain_receiver').value;
				parent.frames['indexFrame'].send(receiver);
	    		return result;
	    	}
	
	</script>
  </head>
  <body>
  <s:actionerror/>
	    <s:form  action="save" namespace="/system/message" validate="true" focusElement="sysId">
		    <s:hidden name="domain.receiver"></s:hidden>
		    <s:textfield name="domain.title" label="标题"  required="true" multipleheight="1" multiplewidth="2" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"  maxlength="200"/>
		    <s:textarea name="domain.content" label="内容"  required="true" multipleheight="8" multiplewidth="2" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"  maxlength="2000"/>
		    <s:textfield name="domain.sender.name" label="发送人" multipleheight="1" multiplewidth="1" required="true" readonly="true" disabled="true" dataType="LimitB"  maxlength="50"/>
		    <s:textarea  value="%{reciveUserList.{name}.toString()}" label="接收人"  required="true" multipleheight="2" multiplewidth="2" readonly="true" disabled="%{disabled}" dataType="LimitB"  maxlength="2000"/>
		    <s:textfield name="domain.startTime" id="startTime" label="显示开始时间" multipleheight="1" multiplewidth="1" required="true" readonly="%{readonly}" disabled="%{disabled}" dataType="Date"  to="endTime" operator="LessThan">
				<s:param name="value">
		    	    <s:date name="domain.startTime" format="yyyy-MM-dd"/>
		    	</s:param>
		    </s:textfield>
		    <s:textfield name="domain.endTime" id="endTime" label="显示结束时间" multipleheight="1" multiplewidth="1" required="true" readonly="%{readonly}" disabled="%{disabled}" dataType="Date" to="startTime"  operator="GreaterThan">
				<s:param name="value">
		    	    <s:date name="domain.endTime" format="yyyy-MM-dd"/>
		    	</s:param>
		    </s:textfield>
		   
	    </s:form>
  </body>
</html>
